package com.tsd.wxpay.service;

import com.tsd.core.vo.PageBean;
import com.tsd.system.entity.SysUser;
import com.tsd.wxpay.entity.WeixinPayNotifyLog;
import com.tsd.wxpay.entity.WeixinPayNotifyLogExt;

import java.util.List;
import java.util.Map;

/**
 * 描述：WeixinPayNotifyLog服务实现层接口
 *
 * @author Hillpool
 * @date 2022/07/08 15:48:46
 */
public interface WeixinPayNotifyLogService {

    /**
     * 描述：根据id获取WeixinPayNotifyLog
     *
     * @param id
     */
    WeixinPayNotifyLog getWeixinPayNotifyLogById(Long id) throws Exception;

    /**
     * 描述：根据sid获取WeixinPayNotifyLog
     *
     * @param sid
     */
    WeixinPayNotifyLogExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除WeixinPayNotifyLog
     *
     * @param list
     */
    void deleteWeixinPayNotifyLogs(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新WeixinPayNotifyLog
     *
     * @param record
     * @param opUser
     */
    void saveWeixinPayNotifyLog(WeixinPayNotifyLog record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询WeixinPayNotifyLog
     *
     * @param params
     * @param page
     */
    List<WeixinPayNotifyLogExt> findWeixinPayNotifyLogs(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询WeixinPayNotifyLog
     *
     * @param params
     */
    List<WeixinPayNotifyLogExt> findWeixinPayNotifyLogs(Map<String, Object> params) throws Exception;

    WeixinPayNotifyLogExt queryByOutTradeNo(String outTradeNo) throws Exception;
}